package cn.itsource.pethome.base.query;

import lombok.Data;

/**
 * 公共查询
 */
@Data
public class BaseQuery {
    private Integer currentPage;
    private Integer pageSize;

    public Integer getBegin(){
        return (this.currentPage - 1) * this.pageSize;
    }
}
